package com.appcenter.application.model;


import tk.mybatis.mapper.annotation.NameStyle;
import tk.mybatis.mapper.code.Style;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;
import java.util.List;

@NameStyle(Style.normal)
@Table(name="dics")
@Entity
public class Dics {

    @javax.persistence.Id
    private String id;
    public String getId() {return id; }
    public void setId(String id) {this.id = id; }

    private String appId;
    public String getAppId(){return this.appId;}
    public void setAppId(String appId){this.appId=appId;}

    private String dicKey;
    public String getDicKey(){return this.dicKey;}
    public void setDicKey(String dicKey){this.dicKey=dicKey;}

    private String dicCode;
    public String getDicCode(){return this.dicCode;}
    public void setDicCode(String dicCode){this.dicCode=dicCode;}

    private String dicName;
    public String getDicName(){return this.dicName;}
    public void setDicName(String dicName){this.dicName=dicName;}

    private String description;
    public String getDescription(){return this.description;}
    public void setDescription(String description){this.description=description;}

    private String parentId;
    public String getParentId(){return this.parentId;}
    public void setParentId(String parentId){this.parentId=parentId;}

    private int listOrder;
    public int getListOrder(){return this.listOrder;}
    public void setListOrder(int listOrder){this.listOrder=listOrder;}

    private int level;
    public int getLevel(){return this.level;}
    public void setLevel(int level){this.level=level;}

    private String fullListOrder;
    public String getFullListOrder(){return this.fullListOrder;}
    public void setFullListOrder(String fullListOrder){this.fullListOrder=fullListOrder;}

    public List<Dics> getChildren() {
        return children;
    }

    public void setChildren(List<Dics> children) {
        this.children = children;
    }

    public List<Dics> children;

    private Date createTime;
    private String createUserId;
    private Boolean validStatus;

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getCreateUserId() {
        return createUserId;
    }

    public void setCreateUserId(String createUserId) {
        this.createUserId = createUserId;
    }

    public Boolean getValidStatus() {
        return validStatus;
    }

    public void setValidStatus(Boolean validStatus) {
        this.validStatus = validStatus;
    }
}
